package com.study.school.service;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeLog {
    public void log(){
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("砍树时间： "+sdf.format(new Date()));
    }
}
